package com.hk.core.security.cas.userdetails;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsChecker;

/**
 * 在 cas 服务端已验证用户状态，过期等，不需要在客户端再验证
 */
public class NoUserDetailsChecker implements UserDetailsChecker {

    @Override
    public void check(UserDetails toCheck) {
        // ignore
    }
}
